package com.canbot.u05.bean;

/**
 * 自定义对话
 *
 * @author ruandan
 */
public class CustomDialogue {

        private int id;

        private String question;

        private String answer;

        private int type;

        public CustomDialogue(int id, String question, String answer, int type) {
                super();
                this.id = id;
                this.question = question;
                this.answer = answer;
                this.type = type;
        }
        public CustomDialogue(String question, String answer, int type) {
                super();
                this.question = question;
                this.answer = answer;
                this.type = type;
        }

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public String getQuestion() {
                return question;
        }

        public void setQuestion(String question) {
                this.question = question;
        }

        public String getAnswer() {
                return answer;
        }

        public void setAnswer(String answer) {
                this.answer = answer;
        }

        public int getType() {
                return type;
        }

        public void setType(int type) {
                this.type = type;
        }

        @Override
        public String toString() {
                return "CustomDialogue{" +
                        "id=" + id +
                        ", question='" + question + '\'' +
                        ", answer='" + answer + '\'' +
                        ", type=" + type +
                        '}';
        }
}
